package net.lcheng.service;

import net.lcheng.commons.utils.PageList;
import net.lcheng.model.UserWithdrawalsRecord;

import java.util.List;

/**
 * Created by zwr on 2016/7/8 0008.
 */
public interface UserWithdrawalsRecordService {
    /***
     * 添加提现金额
     * @param userWithdrawalsRecord
     * @return
     */
    int addWithdrawalsRecord(UserWithdrawalsRecord userWithdrawalsRecord);
    /***
     * 根据useId获取提现记录(卖家店铺里面的提现记录)
     * @return
     */
    PageList<UserWithdrawalsRecord> getUserWithdrawalsRecordByUserId(int pageIndex, int pageSize, String userId);
    /***
     * 根据useId获取提现记录(微商城里面的提现记录)
     * @return
     */
    List<UserWithdrawalsRecord> getUserWithdrawalsRecordByUserId(String userId);
    /***
     * 根据id获取提款详情
     * @param Id
     * @return
     */
    UserWithdrawalsRecord getUserWithdrawalsRecordById(String Id);
}
